
<!DOCTYPE HTML>
<html lang="Chinese" >
    <head>
        <title>移植指南 · freeRTOS中文文档</title>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.0">
        <meta name="author" content="tangguocheng">
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-prismx/prism.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-theme-comscore/test.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="." />
    
    
    <link rel="prev" href="线程本地存储.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://www.xn--4gqa63c686ta68iba.ren/" target="_blank" class="custom-link">博客</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    关于
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../../简介/freeRTOS介绍.html">
            
                <a href="../../简介/freeRTOS介绍.html">
            
                    
                    简介
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../../简介/编码规则和风格.html">
            
                <a href="../../简介/编码规则和风格.html">
            
                    
                    编码规则和风格
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../../简介/许可.html">
            
                <a href="../../简介/许可.html">
            
                    
                    许可
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../../简介/快速开始指南.html">
            
                <a href="../../简介/快速开始指南.html">
            
                    
                    快速开始指南
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../../入门/readme.html">
            
                <a href="../../入门/readme.html">
            
                    
                    入门
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../../入门/任务和协程/readme.html">
            
                <a href="../../入门/任务和协程/readme.html">
            
                    
                    任务和协程
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1.1" data-path="../../入门/任务和协程/任务.html">
            
                <a href="../../入门/任务和协程/任务.html">
            
                    
                    任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.2" data-path="../../入门/任务和协程/协程.html">
            
                <a href="../../入门/任务和协程/协程.html">
            
                    
                    协程
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../../入门/通信机制/readme.html">
            
                <a href="../../入门/通信机制/readme.html">
            
                    
                    通信机制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.2.1" data-path="../../入门/通信机制/队列.html">
            
                <a href="../../入门/通信机制/队列.html">
            
                    
                    队列
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.2" data-path="../../入门/通信机制/二值信号量.html">
            
                <a href="../../入门/通信机制/二值信号量.html">
            
                    
                    二值信号量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.3" data-path="../../入门/通信机制/计数信号量.html">
            
                <a href="../../入门/通信机制/计数信号量.html">
            
                    
                    计数信号量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.4" data-path="../../入门/通信机制/互斥量.html">
            
                <a href="../../入门/通信机制/互斥量.html">
            
                    
                    互斥量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.5" data-path="../../入门/通信机制/递归互斥量.html">
            
                <a href="../../入门/通信机制/递归互斥量.html">
            
                    
                    递归互斥量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.6" data-path="../../入门/通信机制/任务通知.html">
            
                <a href="../../入门/通信机制/任务通知.html">
            
                    
                    任务通知
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../../入门/事件组/事件组.html">
            
                <a href="../../入门/事件组/事件组.html">
            
                    
                    事件组
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../../入门/软件定时器/软件定时器.html">
            
                <a href="../../入门/软件定时器/软件定时器.html">
            
                    
                    软件定时器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../readme.md">
            
                <span>
            
                    
                    进阶
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../源代码组织结构/源代码组织结构.html">
            
                <a href="../源代码组织结构/源代码组织结构.html">
            
                    
                    源代码组织结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="配置文件.html">
            
                <a href="配置文件.html">
            
                    
                    配置文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="跟踪特性.html">
            
                <a href="跟踪特性.html">
            
                    
                    跟踪特性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="低功耗支持.html">
            
                <a href="低功耗支持.html">
            
                    
                    低功耗支持
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="运行时间统计.html">
            
                <a href="运行时间统计.html">
            
                    
                    运行时间统计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="队列集合.html">
            
                <a href="队列集合.html">
            
                    
                    队列集合
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="中断延迟.html">
            
                <a href="中断延迟.html">
            
                    
                    中断延迟
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.8" data-path="静态分配与动态分配.html">
            
                <a href="静态分配与动态分配.html">
            
                    
                    静态和动态内存分配
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.9" data-path="内存管理.html">
            
                <a href="内存管理.html">
            
                    
                    内存管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.10" data-path="栈溢出检测.html">
            
                <a href="栈溢出检测.html">
            
                    
                    栈溢出检测
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.11" data-path="钩子函数.html">
            
                <a href="钩子函数.html">
            
                    
                    钩子函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.12" data-path="线程本地存储.html">
            
                <a href="线程本地存储.html">
            
                    
                    线程本地存储
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4.13" data-path="移植指南.html">
            
                <a href="移植指南.html">
            
                    
                    移植指南
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.14" data-path=".">
            
                <span>
            
                    
                    在windows上模拟
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >移植指南</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
                                <section class="normal markdown-section">
                                
                                <p>&#x79FB;&#x690D;freeRTOS&#x5230;&#x4E00;&#x4E2A;&#x5B8C;&#x5168;&#x4E0D;&#x540C;&#x4E14;&#x73B0;&#x5728;&#x6CA1;&#x6709;&#x5F97;&#x5230;&#x5B98;&#x65B9;&#x652F;&#x6301;&#x7684;&#x5904;&#x7406;&#x5668;&#x4E0D;&#x662F;&#x4E00;&#x4EF6;&#x5BB9;&#x6613;&#x4E8B;&#xFF0C;&#x8FD9;&#x8FB9;&#x6587;&#x6863;&#x4F1A;&#x4ECB;&#x7ECD;&#x5173;&#x4E8E;&#x79FB;&#x690D;&#x7684;&#x4E00;&#x4E9B;&#x77E5;&#x8BC6;&#x3002;</p><p>&#x5904;&#x7406;&#x5668;&#x4E0D;&#x540C;&#xFF0C;&#x5B9E;&#x73B0;&#x7684;&#x7EC6;&#x8282;&#x4E5F;&#x5C31;&#x4E0D;&#x540C;&#xFF0C;&#x56E0;&#x6B64;&#x8FD9;&#x4E2A;&#x6587;&#x6863;&#x6CA1;&#x6CD5;&#x5C06;&#x79FB;&#x690D;&#x8BF4;&#x7684;&#x5F88;&#x8BE6;&#x7EC6;&#xFF0C;&#x53EA;&#x662F;&#x63D0;&#x4F9B;&#x4E00;&#x4E2A;&#x5927;&#x81F4;&#x7684;&#x79FB;&#x690D;&#x8FC7;&#x7A0B;&#x53CA;&#x65B9;&#x6CD5;&#x4ECB;&#x7ECD;&#x3002;&#x5EFA;&#x8BAE;&#x5728;&#x79FB;&#x690D;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x5148;&#x53BB;&#x770B;&#x4E0B;&#x5B98;&#x65B9;&#x652F;&#x6301;&#x7684;&#x5206;&#x652F;&#xFF0C;&#x7136;&#x540E;&#x627E;&#x4E00;&#x4E2A;&#x5C3D;&#x53EF;&#x80FD;&#x4E0E;&#x4F60;&#x7684;&#x5904;&#x7406;&#x5668;&#x7C7B;&#x4F3C;&#x7684;&#x5206;&#x652F;&#x4F5C;&#x4E3A;&#x53C2;&#x8003;&#x3002;&#x540E;&#x9762;&#x4E5F;&#x4F1A;&#x5728;&quot;&#x793A;&#x4F8B;&#x5DE5;&#x7A0B;&quot;&#x7AE0;&#x8282;&#x4E2D;&#x4ECB;&#x7ECD;&#x5982;&#x4F55;&#x53BB;&#x4FEE;&#x6539;&#x4E00;&#x4E2A;&#x5DF2;&#x7ECF;&#x5B58;&#x5728;&#x7684;&#x4F8B;&#x7A0B;&#x3002;</p><h2 id="&#x5EFA;&#x7ACB;&#x6587;&#x4EF6;&#x76EE;&#x5F55;&#x7ED3;&#x6784;">&#x5EFA;&#x7ACB;&#x6587;&#x4EF6;&#x76EE;&#x5F55;&#x7ED3;&#x6784;</h2><p>freeRTOS&#x7684;&#x5185;&#x6838;&#x6E90;&#x4EE3;&#x7801;&#x901A;&#x5E38;&#x4EC5;&#x5305;&#x542B;3&#x4E2A;&#x6587;&#x4EF6;(&#x5982;&#x679C;&#x4F7F;&#x7528;&#x534F;&#x7A0B;&#x7684;&#x8BDD;&#xFF0C;4&#x4E2A;)&#xFF0C;&#x548C;&#x4E00;&#x4E2A;&#x6216;&#x8005;&#x4E24;&#x4E2A;&#x9002;&#x914D;&#x6587;&#x4EF6;&#x3002;</p><p>&#x63A8;&#x8350;&#x7684;&#x6B65;&#x9AA4;&#xFF1A;</p><ol><li>&#x4E0B;&#x8F7D;&#x6700;&#x65B0;&#x7248;&#x672C;&#x7684;freeRTOS&#x6E90;&#x4EE3;&#x7801;&#x3002;
</li>
<li>&#x89E3;&#x538B;&#x6587;&#x4EF6;&#xFF0C;&#x6CE8;&#x610F;&#x7EF4;&#x62A4;&#x7684;&#x76EE;&#x5F55;&#x7ED3;&#x6784;&#x3002;
</li>
<li>&#x719F;&#x6089;&#x6E90;&#x4EE3;&#x7801;&#x7EC4;&#x7EC7;&#x53CA;&#x76EE;&#x5F55;&#x7ED3;&#x6784;&#x3002;
</li>
<li>&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x5305;&#x542B;&#x79FB;&#x690D;&#x6587;&#x4EF6;&#x7684;&#x6587;&#x4EF6;&#x5939;&#x3002;&#x5E94;&#x8BE5;&#x9075;&#x5B88;&#x8FD9;&#x6837;&#x7684;&#x7EC4;&#x7EC7;&#x673A;&#x6784;:<code>FreeRTOS/Source/portable/<span class="token punctuation">[</span>compiler name<span class="token punctuation">]</span>/<span class="token punctuation">[</span>processor name<span class="token punctuation">]</span></code>
</li>
<li>&#x590D;&#x5236;&#x7A7A;&#x7684;<code>port.c</code> &#x548C; <code>portmacro.h</code>&#x6587;&#x4EF6;&#x5230;&#x4F60;&#x521A;&#x624D;&#x521B;&#x5EFA;&#x7684;&#x6587;&#x4EF6;&#x5939;&#x4E2D;&#x3002;&#x8FD9;&#x4E24;&#x4E2A;&#x6587;&#x4EF6;&#x5305;&#x542B;&#x4E00;&#x7CFB;&#x5217;&#x9700;&#x8981;&#x5B9E;&#x73B0;&#x7684;&#x51FD;&#x6570;&#xFF0C;&#x53EF;&#x4EE5;&#x53C2;&#x8003;&#x5176;&#x4ED6;&#x5DF2;&#x7ECF;&#x5B58;&#x5728;&#x7684;&#x6587;&#x4EF6;&#x521B;&#x5EFA;&#x3002;
</li>
<li>&#x5982;&#x679C;&#x5904;&#x7406;&#x5668;&#x7684;&#x6808;&#x751F;&#x957F;&#x65B9;&#x5F0F;&#x662F;&#x5411;&#x4E0B;&#x751F;&#x957F;(&#x9AD8;&#x5730;&#x5740;&#x5230;&#x4F4E;&#x5730;&#x5740;)&#xFF0C;&#x90A3;&#x4E48;&#x9700;&#x8981;&#x628A;<code>portSTACK_GROWTH</code>&#x8BBE;&#x7F6E;&#x4E3A;-1&#xFF0C;&#x5426;&#x5219;&#x8BBE;&#x7F6E;&#x4E3A;1.
</li>
<li>&#x521B;&#x5EFA;&#x6587;&#x4EF6;&#x5939;&#x5305;&#x542B;&#x793A;&#x4F8B;&#x7A0B;&#x5E8F;&#xFF0C;&#x8DEF;&#x5F84;<code>FreeRTOS/Demo/<span class="token punctuation">[</span>architecture_compiler<span class="token punctuation">]</span></code>.
</li>
<li>&#x590D;&#x5236;&#x5DF2;&#x7ECF;&#x5B58;&#x5728;&#x7684;<code>FreeRTOSConfig.h</code>&#x548C;<code>main.c</code>&#x6587;&#x4EF6;&#x5F53;&#x7B2C;7&#x6B65;&#x521B;&#x5EFA;&#x7684;&#x6587;&#x4EF6;&#x5939;&#x4E2D;&#x3002;
</li>
<li><code>FreeRTOSConfig.h</code>&#x4E2D;&#x7684;&#x8BBE;&#x7F6E;&#x9879;&#x9700;&#x8981;&#x6839;&#x636E;&#x4F60;&#x7684;&#x5B9E;&#x9645;&#x5E94;&#x7528;&#x4FEE;&#x6539;&#x3002;
</li>
<li>&#x5728;&#x521A;&#x624D;&#x521B;&#x5EFA;&#x7684;&#x76EE;&#x5F55;&#x4E0B;&#x521B;&#x5EFA;&#x76EE;&#x5F55;<code>parTest</code>(<code>probably FreeRTOS/Demo/<span class="token punctuation">[</span>architecture_compiler<span class="token punctuation">]</span>/ParTest</code>)&#x3002;&#x590D;&#x5236;ParTest.c&#x6587;&#x4EF6;&#x5230;&#x8FD9;&#x4E2A;&#x76EE;&#x5F55;&#x4E0B;&#x3002;
</li>
<li><p><code>ParTest.c</code>&#x5305;&#x542B;&#x4E09;&#x4E2A;&#x7B80;&#x5355;&#x7684;&#x51FD;&#x6570;:</p><ul><li>&#x8BBE;&#x7F6E;GPIO&#xFF0C;&#x7528;&#x6765;&#x7FFB;&#x8F6C;LED
</li>
<li>&#x70B9;&#x4EAE;&#x6216;&#x7184;&#x706D;LED
</li>
<li>&#x7FFB;&#x8F6C;LED
</li></ul>
<p>&#x8FD9;&#x4E09;&#x4E2A;&#x51FD;&#x6570;&#x9700;&#x8981;&#x4F60;&#x81EA;&#x5DF1;&#x6839;&#x636E;&#x4F60;&#x7684;&#x5F00;&#x53D1;&#x677F;&#x53BB;&#x5B9E;&#x73B0;&#x3002;&#x4F60;&#x53EF;&#x4EE5;&#x53C2;&#x8003;&#x5DF2;&#x5B58;&#x5728;&#x7684;&#x5176;&#x4ED6;&#x5904;&#x7406;&#x5668;&#x7684;<code>ParTest.c</code>&#x6587;&#x4EF6;&#x3002;</p></li></ol>
<h2 id="&#x521B;&#x5EFA;&#x5DE5;&#x7A0B;">&#x521B;&#x5EFA;&#x5DE5;&#x7A0B;</h2><p>&#x73B0;&#x5728;&#x521B;&#x5EFA;&#x5DE5;&#x7A0B;&#x6240;&#x9700;&#x7684;&#x5168;&#x90E8;&#x6587;&#x4EF6;&#x90FD;&#x5DF2;&#x7ECF;&#x51C6;&#x5907;&#x597D;&#x4E86;&#xFF0C;&#x662F;&#x65F6;&#x5019;&#x5EFA;&#x7ACB;&#x5DE5;&#x7A0B;&#x53BB;&#x7F16;&#x8BD1;&#x5B83;&#x4EEC;&#x4E86;&#x3002;&#x663E;&#x7136;&#xFF0C;&#x5F88;&#x591A;&#x51FD;&#x6570;&#x90FD;&#x4EC5;&#x4EC5;&#x53EA;&#x6709;&#x539F;&#x578B;&#xFF0C;&#x800C;&#x6CA1;&#x6709;&#x53BB;&#x5B9E;&#x73B0;&#xFF0C;&#x73B0;&#x5728;&#x8FD9;&#x4E2A;&#x5DE5;&#x7A0B;&#x8FD8;&#x505A;&#x4E0D;&#x4E86;&#x4EC0;&#x4E48;&#x4E8B;&#x60C5;&#xFF0C;&#x5177;&#x4F53;&#x5B9E;&#x73B0;&#x8FD8;&#x8981;&#x4F9D;&#x9760;&#x4F60;&#x81EA;&#x5DF1;&#x3002;</p><p>&#x5DE5;&#x7A0B;&#x6240;&#x9700;&#x8981;&#x5305;&#x542B;&#x7684;&#x6E90;&#x6587;&#x4EF6;:</p><ul><li>Source/tasks.c
</li>
<li>Source/Queue.c
</li>
<li>Source/List.c
</li>
<li>Source/portable/[compiler name]/[processor name]/port.c
Source/portable/MemMang/heap_1.c (or heap_2.c or heap_3.c or heap_4.c)
</li>
<li>Demo/[processor name]/main.c
</li>
<li>Demo/[Processor name]/ParTest/ParTest.c
</li></ul>
<p>&#x5DE5;&#x7A0B;&#x9700;&#x8981;&#x5305;&#x542B;&#x7684;&#x5934;&#x95EE;&#x4EF7;&#x8DEF;&#x5F84;(&#x5EFA;&#x8BAE;&#x4F7F;&#x7528;&#x76F8;&#x5BF9;&#x8DEF;&#x5F84;&#x800C;&#x4E0D;&#x662F;&#x7EDD;&#x5BF9;&#x8DEF;&#x5F84;)&#xFF1A;</p><ul><li>Demo/Common (i.e. ../Common)
</li>
<li>Demo/[Processor Name]
</li>
<li>Source/include
</li>
<li>Source/portable/[Compiler name]/[Processor name]
</li></ul>
<h2 id="&#x5B9E;&#x73B0;">&#x5B9E;&#x73B0;</h2><p>&#x8FD9;&#x662F;&#x6700;&#x96BE;&#x7684;&#x4E00;&#x90E8;&#x5206;&#xFF0C;&#x9002;&#x914D;&#x5C42;&#x7684;&#x6587;&#x4EF6;&#x6B64;&#x65F6;&#x9700;&#x8981;&#x5F00;&#x53D1;&#x8005;&#x81EA;&#x5DF1;&#x53BB;&#x5B9E;&#x73B0;&#xFF0C;&#x5EFA;&#x8BAE;&#x5148;&#x5B9E;&#x73B0;<code>pxPortInitialiseStack<span class="token punctuation">(</span><span class="token punctuation">)</span></code>,&#x4E3A;&#x4E86;&#x5B9E;&#x73B0;&#x8FD9;&#x4E2A;&#x51FD;&#x6570;&#x4F60;&#x9700;&#x8981;&#x5148;&#x4E86;&#x89E3;&#x6E05;&#x695A;&#x4F60;&#x7684;&#x4EFB;&#x52A1;&#x5806;&#x6808;&#x7684;&#x4E0A;&#x4E0B;&#x6587;&#x7ED3;&#x6784;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;&#x4EFB;&#x52A1;&#x5728;&#x5207;&#x6362;&#x65F6;&#xFF0C;&#x5806;&#x6808;&#x9700;&#x8981;&#x4FDD;&#x5B58;&#x54EA;&#x4E9B;&#x5BC4;&#x5B58;&#x5668;&#x6216;&#x8005;&#x9700;&#x8981;&#x6062;&#x590D;&#x54EA;&#x4E9B;&#x5BC4;&#x5B58;&#x5668;&#x3002;</p>
                                
                                </section>
                            
                        </div>
                    </div>
                
            </div>

            
                
                <a href="线程本地存储.html" class="navigation navigation-prev " aria-label="Previous page: 线程本地存储">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="." class="navigation navigation-next " aria-label="Next page: 在windows上模拟">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"移植指南","level":"1.4.13","depth":2,"next":{"title":"在windows上模拟","level":"1.4.14","depth":2,"path":"进阶/高级/","ref":"进阶/高级/","articles":[]},"previous":{"title":"线程本地存储","level":"1.4.12","depth":2,"path":"进阶/高级/线程本地存储.md","ref":"进阶/高级/线程本地存储.md","articles":[]},"dir":"ltr"},"config":{"plugins":["prismx","-highlight","-search","duoshuo","ga","theme-comscore"],"styles":{"website":"styles/website.css","ebook":"styles/ebook.css","pdf":"styles/pdf.css","mobi":"styles/mobi.css","epub":"styles/epub.css"},"pluginsConfig":{"ga":{"configuration":"auto","token":"UA-80700049-1"},"duoshuo":{"short_name":"tangguocheng","theme":"default"},"prismx":{"css":["prismjs/themes/prism-tomorrow.css"]},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-comscore":{},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"mobi":{"fontSize":12,"footerTemplate":null,"headerTemplate":null,"margin":{"bottom":36,"left":62,"right":62,"top":36},"pageNumbers":false,"paperSize":"a4"},"theme":"default","author":"tangguocheng","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":false},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"freeRTOS中文文档","language":"Chinese","links":{"sidebar":{"博客":"http://www.xn--4gqa63c686ta68iba.ren/"}},"gitbook":"*","description":"freeRTOS中文文档","extension":null},"file":{"path":"进阶/高级/移植指南.md","mtime":"2016-09-18T09:06:42.985Z","type":"markdown"},"gitbook":{"version":"3.2.0","time":"2016-09-18T09:07:11.640Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-duoshuo/duoshuo.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-ga/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-theme-comscore/test.js"></script>
        
    

    </body>
</html>

